package cn.pping.pet.mapper;

import cn.pping.pet.domain.Pet;
import cn.pping.basic.mapper.BaseMapper;
import lombok.Data;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author pping
 * @since 2022-08-06
 */
@Mapper
public interface PetMapper extends BaseMapper<Pet> {

    void offSale(@Param("ids") List<Long> ids,@Param("date") Date date);

    void onSale(@Param("ids")List<Long> ids,@Param("date") Date date);
}
